package com.situ.mall.mapper;

import com.situ.mall.pojo.entity.Carousel;
import com.situ.mall.pojo.query.CarouselQuery;

import java.util.List;

public interface CarouselMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Carousel record);

    int insertSelective(Carousel record);

    Carousel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Carousel record);

    int updateByPrimaryKey(Carousel record);

    List<Carousel> list(CarouselQuery carouselQuery);

    List<Carousel> listAll();

    void deleteAll(Integer[] ids);
}